/* Main chat container */
/* Top Bar */
form {
    display: block;
    margin-top: 0em;
}

#chatTopBar {
    height:40px;
    background:url('img/solid_gray.jpg') repeat-x #d0d0d0;
    border:1px solid #fff;
    margin-bottom:15px;
    position:relative;
    color:#777;
    text-shadow:1px 1px 0 #FFFFFF;
}

#chatTopBar .name {
    position:absolute;
    top:10px;
    left:40px;
}

#chatTopBar img {
    left:9px;
    position:absolute;
    top:8px;
}

/* Chats */
#chatLineHolder{
    height:360px;
    width:350px;
    margin-bottom:20px;
}

.chat {
    min-height:24px;
    padding:6px;
    border:1px solid #FFFFFF;
    padding:8px 6px 4px 37px;
    position:relative;
    margin:0 10px 10px 0;
}

.chat:last-child {
    margin-bottom:0;
}

.chat span {
    color:#777777;
    text-shadow:1px 1px 0 #FFFFFF;
    font-size:12px;
}

.msg {
    border-bottom: 1px solid #ccc;
}

.text {
    color:#444444;
    font-size:12px;
    vertical-align:top;
    padding-bottom: 15px; 
    margin-top: 0px;
    margin-left: 38px;
}

/* Chat User Area */
#clear {
    clear: both;
}

#discussion {
    border: 1px solid #ccc;
    height:400px;
    overflow: auto;
}

#chatingWith {
    padding : 0;
    border:1px solid #ccc;
    height:98px;
    overflow: hidden;
}

#chatingWith img{
    border:none;
    width:70px;
    height:85px;
}

#chatUsers {
    margin  : 12px 0 20px 0;
    padding : 3px 3px 3px 3px;
    border:1px solid #ccc;
    height:508px;
    width:50% ;
    float: left;
    overflow: auto;
    right:0;
    top:56px;
}

.divUser {
    border : none;
    width : 46%;
    height: 85px;
    float : left;
    margin : 7px 0 0 7px;
    overflow: hidden;
    overflow: auto;
    padding: 1px 1px 1px 1px;
}

.divUser .notSelected {
    border : none;
    float: left; 
    margin-right: 5px;
    line-height: 0.75;
    font-size: 10px;
    overflow: hidden;
    vertical-align: middle;
    cursor: pointer;
}

#chatUsers :hover{
    background-color: #eee;
}

.span1 a img {
    border : none;
    width : 50px;
    height: 50px;
}

.selectedUser {
    background-color: #75A3D1;
    /*border: 1px solid #75A3D1;*/
}

.divUser div a {
    font-size: 10px;
    color : #666666;
}

#chatUsers .user {
    background:url('http://www.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?size=30') no-repeat 1px 1px #444444;
    border:1px solid #111111;
    float:left;
    height:32px;
    margin:10px 0 0 10px;
    width:32px;
}

#chatUsers .user img {
    border:1px solid #444444;
    display:block;
    visibility:hidden;
}

/* Bottom Bar */
#chatBottomBar {
    background:url('img/solid_gray.jpg') repeat-x #d0d0d0;
    position:relative;
    padding:10px;
    border:1px solid #fff;
}

#chatBottomBar .tip{
    position:absolute;
    width:0;
    height:0;
    border:10px solid transparent;
    border-bottom-color:#eeeeee;
    top:-20px;
    left:20px;
}

#submitForm{
    display:none;
}

/* Overloading the default styles of jScrollPane */
.jspVerticalBar{
    background:none;
    width:20px;
}

.jspTrack{
    background-color:#202020;
    border:1px solid #111111;
    width:3px;
    right:-10px;
}

.jspDrag {
    background:url('img/slider.png') no-repeat;
    width:20px;
    left:-9px;
    height:20px !important;
    margin-top:-5px;
}

.jspDrag:hover{
    background-position:left bottom;
}

/* Additional styles */

a.logoutButton{
    background-color:#bbb;
    border:1px solid #eee !important;
    color:#FFFFFF !important;
    font-size:12px;
    padding:5px 9px;
    position:absolute;
    right:10px;
    text-shadow:1px 1px 0 #888;
    top:7px;
    -moz-box-shadow:0 0 7px #888 inset;
    -webkit-box-shadow:0 0 7px #888 inset;
    box-shadow:0 0 7px #888 inset;
}

a.logoutButton:hover{
    text-shadow:1px 1px 0 #888;
    -moz-box-shadow:0 0 7px #666 inset;
    -webkit-box-shadow:0 0 7px #666 inset;
    box-shadow:0 0 7px #666 inset;
}

.blueButton{
    /* background:url('img/button_blue.png') no-repeat;*/
    border:none !important;
    color:#516D7F !important;
    height:22px;
    text-align:center;
    text-shadow:1px 1px 0 rgba(255, 255, 255, 0.4);
    width:75px;
    margin:0;
    cursor:pointer;
}

.blueButton:hover{
    background-position:left bottom;
}

p.noChats, #chatUsers .count{
    clear:both;
    font-size:12px;
    padding:10px;
    text-align:center;
    text-shadow:1px 1px 0 #111111;
}

.clear{
    clear:both;
}

#chatUsers .count{
    font-size:11px;
}

.rounded{
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    border-radius:4px;
}

#chatErrorMessage{
    width:100%;
    top:0;
    left:0;
    position:fixed;
    background-color:#ab0909;
    border-bottom:1px solid #d32a2a;
    font-size:23px;
    padding:16px;
    text-align:center;
    color:#fff;
    text-shadow:1px 1px 0 #940f0f;
}

.tgl{
    color: #999;
}

#infos{
    height: 70px;
    width: 60%;
    margin: 10px 20px 0 20px;
    background: url("../img/notifs.png") no-repeat;
    background-size: 100% 100%;
    border: 0px solid #480091;
    vertical-align: bottom;
    text-align: center;
    color: red;
    font-size: 19px;
    padding-top: 23px;
}

.logo {
    width: 135px;
    height: 34px;
    margin:10px 0 0 0 ; 
}

.session {
    text-align:right;
    vertical-align: bottom;
    margin-top:23px;
    color : #1F8CE6;
}

.hr {
    border-bottom: solid 1px #bdc7d8;
}

.heightAndScroll{
    overflow: auto;
    height:530px;
}

[class='span*']{
    margin-bottom: 20px;
}

.gravatar {
    width:25px;
    height:25px;
}

.spanG {
    float: left;
    width: 26px;
}

.author {
    float: left;
    width: 100px;
    font-size: 12px;
    color: #3B5998;
    font-weight: bold;
    margin-left: 10px;
}

.time {
    float: left;
    width: 146px;
    font-size:11px;
    margin-top: 0px;
    text-align: right;
    color: #ccc;
}

.spanM {
    float : left;
    width : 226px;
    margin-left: 10px;
}
